<div class='basket' id="<?php echo $this->id; ?>">
	<img src='/themes/2011/images/basket.png' class='basketicon'>
	<span class='title'>В вашей корзине</span>
	<?php if($cart->getCount() > 0): ?>
		<a href='<?php echo CHtml::normalizeUrl(array('basket/index')); ?>' class='summary'>
			<?php echo $c=$cart->getCount(); ?> 
			
			<?php if($c%10 == 1): ?>товар
			<?php elseif($c%10 < 5):?>товара
			<?php else: ?>товаров<?php endif; ?> на <?php echo number_format($cart->getCost(),0,'.',' '); ?> <i class='rub'>Р</i>
		</a>
		<a href='<?php echo CHtml::normalizeUrl(array('basket/index')); ?>' class='order'><img src='/themes/2011/images/orderbtn0.png'></a>
	<?php else: ?>
	нет товаров
	<?php endif; ?>
</div>